home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / creparam.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  33 lines

  1. .TH CREPARAM
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. CREPARAM
  5.  
  6.  
  7.  
  8.  CurveType CREPARAM( CurveType Curve, NumericType MinParam,
  9.                                                        NumericType MaxParam )
  10.  
  11. Reparametrize Curve over a new domain from MinParam to MaxParam.
  12. This operation does not affect the geometry of the curve and only affine
  13. transforms its knot vector. A Bezier curve will automatically be promoted
  14. into a Bspline curve by this function.
  15.  
  16. Example:
  17.  
  18.     arc1 = arc( vector( 0.0, 0.0, 0.0 ),
  19.                 vector( 0.5, 2.0, 0.0 ),
  20.                 vector( 1.0, 0.0, 0.0 ) );
  21.     crv1 = arc( vector( 1.0, 0.0, 0.75 ),
  22.                 vector( 0.75, 0.0, 0.7 ),
  23.                 vector( 0.5,  0.0, 0.85 ) ) +
  24.            arc( vector( 0.5,  0.0, 0.75 ),
  25.                 vector( 0.75, 0.0, 0.8 ),
  26.                 vector( 1.0,  0.0, 0.65 ) );
  27.  
  28.     arc1 = CREPARAM( arc1, 0, 10 );
  29.     crv1 = CREPARAM( crv1, 0, 10 );
  30.  
  31. Sets the domain of the given two curves to be from zero to ten. The
  32. Bezier curve arc1 is promoted to a Bspline curve.
  33.